package com.study.service;

import com.study.entity.BusReceiverEntity;

import java.io.Serializable;
import java.util.List;



public interface BusReceiverService<T> {

    T findById(Integer id);

    void delete(Integer id);

    void insert(BusReceiverEntity busReceiverEntity);

    List<T> findList(String name, String address);

    List<T> findAll();

    List<BusReceiverEntity> findListByPage(Integer currPage, Integer pageSize);
}

